package com.chixing.ih;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;


@EnableAsync//开启基于注解版的异步处理
//@EnableScheduling//开启基于注解版的任务定制
@SpringBootApplication
@EnableTransactionManagement
public class IhApplication {
    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(IhApplication.class);
        springApplication.setBannerMode(Banner.Mode.CONSOLE);
        springApplication.run(args);
    }


}
